<?php /* Smarty version 2.6.26, created on 2010-01-11 11:55:44
         compiled from guestbook.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'guestbook.tpl', 9, false),array('modifier', 'date_format', 'guestbook.tpl', 10, false),)), $this); ?>

<table border="0" bgcolor="#eeeeee" width="300">
    <tr>
        <th colspan="2" bgcolor="#d1d1d1">Guestbook Entries (<a href="<?php echo $this->_tpl_vars['SCRIPT_NAME']; ?>
?action=add">add</a>)</th>
    </tr>
    <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['entry']):
?>
        <tr>
            <td><?php echo ((is_array($_tmp=$this->_tpl_vars['entry']['Name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>        
            <td align="right"><?php echo ((is_array($_tmp=$this->_tpl_vars['entry']['EntryDate'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%e %b, %Y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%e %b, %Y %H:%M:%S")); ?>
</td>        
        </tr>
        <tr>
            <td colspan="2" bgcolor="#dedede"><?php echo ((is_array($_tmp=$this->_tpl_vars['entry']['Comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
        </tr>
    <?php endforeach; else: ?>
        <tr>
            <td colspan="2">No records</td>
        </tr>
    <?php endif; unset($_from); ?>
</table>